﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp7
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] arr =
            {
                "string字符串数组",
                "作业作业作业",
                "哈哈哈哈哈",
                "我觉得阿朱奈斯",
                "不要纠结阿朱奈斯是什么，它是韩语音译"
            };
            for (int j = 0; j <= arr.Length-1; j++)
            {
                Console.WriteLine(arr[j]);
            }


            Console.WriteLine();


            String str ="世界很大,大到我们天南地北,世界很小,小到我们擦肩相遇";
            string[] result = str.Split(',');
            foreach (var item in result)
            {
                Console.WriteLine(item);
            }


            Console.WriteLine();


            int[,] ary =
            {
                {23,34,54,62,54 },
                {23,112,32,43,43},
                {123,43,43,1,4},

            };
            for(int i = 0; i < ary.GetLength(0); i++)
            {
                for(int j = 0; j < ary.GetLength(1); j++)
                {
                    Console.WriteLine(ary[i,j]);
                }
            }
        }
    }
}
